/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #333;
  background-color: #f5f7fa;
}

.container {
  padding: 20px;
  width: 100%;
  overflow-x: hidden;
}

.page-title {
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: bold;
}

.card-container {
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 100%;
  overflow-x: hidden;
}

.form-actions {
  margin-top: 20px;
  text-align: right;
}

.status-pending {
  color: #e6a23c;
}

.status-approved {
  color: #67c23a;
}

.status-rejected {
  color: #f56c6c;
}

.notification-badge {
  margin-top: 2px;
}

.unread {
  font-weight: bold;
}

.attachment-link {
  color: #409eff;
  text-decoration: none;
}

.attachment-link:hover {
  text-decoration: underline;
}

/* 添加表格响应式样式 */
.el-table {
  width: 100% !important;
  overflow-x: auto;
}

/* 确保表单元素不会超出容器 */
.el-form-item {
  width: 100%;
  max-width: 100%;
}

/* 修复日期选择器滚动条问题 */
.el-picker-panel {
  overflow: hidden !important;
}

.el-picker-panel .el-scrollbar__wrap {
  overflow-x: hidden !important;
}

.el-date-range-picker__content {
  overflow: hidden !important;
}

.el-date-table {
  overflow: hidden !important;
} 